﻿using System;
using System.Runtime.Serialization;

namespace HugMe.Bussiness.Model.vk
{
	[DataContract]
	public class Person
	{
		[DataMember(Name = "uid")]
		public string UserId { get; set; }

		[DataMember(Name = "first_name")]
		public string FirstName { get; set; }

		[DataMember(Name = "last_name")]
		public string LastName { get; set; }

		[DataMember(Name = "city")]
		public string CityId { get; set; }

		[DataMember(Name = "country")]
		public string CountryId { get; set; }

		[DataMember(Name = "domain")]
		public string Domain { get; set; }

		[DataMember(Name = "sex")]
		public SexType Sex { get; set; }

		[DataMember(Name = "photo_100")]
		public string PhotoUrl { get; set; }

		[DataMember(Name = "photo_50")]
		public string PhotoUrlSmall { get; set; }

		[DataContract]
		public enum SexType
		{
			[EnumMember(Value = "2")]
			Male,
			[EnumMember(Value = "1")]
			Female,
			[EnumMember(Value = "0")]
			Undefine,
		}

		public StatusType RelationStatus { get; set; }
		public DateTime? CreateDate { get; set; }

		public enum StatusType
		{
			Unknown,
			InProgress,
			Complete
		}
	}
}